package com.yunxin.core.application.command.channel;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.ToString;

/**
 * @author zero°
 * @since 2023-12-11
 */
@Data
@ToString(callSuper = true)
@Schema(description = "关联推广弹窗对象")
public class ChannelPopupCommand {

    /**
     * 渠道推广id
     */
    @Schema(description = "渠道推广id")
    @NotNull(message = "渠道推广id不能为空")
    private Long id;

    /**
     * 弹窗编码
     */
    @Schema(description = "弹窗编码")
    private String popupCode;

    /**
     * 修改人
     */
    @Schema(hidden = true)
    private String editor;
}
